Skip to content

Optimize strerror using 5-bit encoding of error strings#748

Merged
ZERICO2005 merged 1 commit into
masterfrom
opt-strerror
Mar 18, 2026
Merged

Optimize strerror using 5-bit encoding of error strings#748
ZERICO2005 merged 1 commit into
masterfrom
opt-strerror

Conversation

@runer112
Copy link
Copy Markdown
Member

@runer112 runer112 commented Mar 14, 2026

  • Size: 744 -> 490 bytes.
  • Worst-case speed: 0.1 -> 3.2 ms.

Comment thread src/libc/perror.src
@ZERICO2005
Copy link
Copy Markdown
Contributor

feel free to squash add missing .extern

Comment thread src/libc/strerror.src Outdated
- Size: 744 -> 490 bytes.
- Worst-case speed: 0.1 -> 3.2 ms.
@ZERICO2005
Copy link
Copy Markdown
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants